package com.aaa.util;

import org.springframework.stereotype.Component;

import java.time.LocalTime;
@Component
public  class secl {

    public static String whole(LocalTime now){
        String no= String.valueOf(now);
        String n="";
        for (int i = 0; i < no.length(); i++) {
            int c = no.charAt(i);
            if (c>47 && c<58){
               n+=no.charAt(i);
            }
        }
    return n;
    }

}
